/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.rp.service.rp_house;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.rp.entity.rp_house.RpHouse;
import com.thinkgem.jeesite.modules.rp.dao.rp_house.RpHouseDao;

/**
 * 房屋管理Service
 * @author 小牙白白
 * @version 2018-03-29
 */
@Service
@Transactional(readOnly = true)
public class RpHouseService extends CrudService<RpHouseDao, RpHouse> {

	public RpHouse get(String id) {
		return super.get(id);
	}
	
	public List<RpHouse> findList(RpHouse rpHouse) {
		return super.findList(rpHouse);
	}
	
	public Page<RpHouse> findPage(Page<RpHouse> page, RpHouse rpHouse) {
		return super.findPage(page, rpHouse);
	}
	
	@Transactional(readOnly = false)
	public void save(RpHouse rpHouse) {
		super.save(rpHouse);
	}
	
	@Transactional(readOnly = false)
	public void delete(RpHouse rpHouse) {
		super.delete(rpHouse);
	}
	
}